Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 7 - Finder Interface Reference / Finder Interface Types and Constants


Folder Manager Gestalt Selector

CHANGED WITH MAC OS 8

Before calling any Folder Manager functions, your application should pass the selector gestaltFindFolderAttr to the Gestalt function to determine which Folder Manager functions are available.

enum {
   gestaltFindFolderAttr='fold'
};
Constant description

gestaltFindFolderAttr
The Gestalt selector passed to determine whether the Folder Manager is available. Produces a value whose bits you should test to determine which Folder Manager functions are available:
enum {
   gestaltFindFolderPresent= 0, 
   gestaltFolderDescSupport= 1                            
};

Constant descriptions

gestaltFindFolderPresent
If this bit is set, the FindFolder function is available. If this bit is clear, FindFolder is not available.
gestaltFolderDescSupport
If this bit is set, the following Folder Manager functions are available: AddFolderDescriptor, RemoveFolderDescriptor, GetFolderDescriptor, GetFolderTypes, IdentifyFolder, InvalidateFolderDescriptorCache, GetFolderName, GetFolderRoutings, and FindFolderRouting. If this bit is clear, these functions are not available.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998